package com.ruoyi.project.rest.detail.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 订单商品明细对象 rest_order_detail
 * 
 * @author ruoyi
 * @date 2022-03-28
 */
public class RestOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单号 */
    @Excel(name = "订单号")
    private String orderNo;

    /** 商品id */
    @Excel(name = "商品id")
    private Long goodsId;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodsName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String goodsUrl;

    /** 商品数量 */
    @Excel(name = "商品数量")
    private Long goodsNum;

    /** 商品金额 */
    @Excel(name = "商品金额")
    private BigDecimal goodsMoney;

    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setGoodsId(Long goodsId)
    {
        this.goodsId = goodsId;
    }

    public Long getGoodsId()
    {
        return goodsId;
    }
    public void setGoodsName(String goodsName)
    {
        this.goodsName = goodsName;
    }

    public String getGoodsName()
    {
        return goodsName;
    }
    public void setGoodsUrl(String goodsUrl)
    {
        this.goodsUrl = goodsUrl;
    }

    public String getGoodsUrl()
    {
        return goodsUrl;
    }
    public void setGoodsNum(Long goodsNum)
    {
        this.goodsNum = goodsNum;
    }

    public Long getGoodsNum()
    {
        return goodsNum;
    }
    public void setGoodsMoney(BigDecimal goodsMoney)
    {
        this.goodsMoney = goodsMoney;
    }

    public BigDecimal getGoodsMoney()
    {
        return goodsMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderNo", getOrderNo())
            .append("goodsId", getGoodsId())
            .append("goodsName", getGoodsName())
            .append("goodsUrl", getGoodsUrl())
            .append("goodsNum", getGoodsNum())
            .append("goodsMoney", getGoodsMoney())
            .toString();
    }
}
